package com.luoran.bartalks.entity.biz;

import java.io.Serializable;
import java.util.Date;

import org.beetl.sql.core.annotatoin.AssignID;

import com.luoran.bartalks.entity.BaseInfo;


/**
 * 计划-途径点表
 */
public class BtPlanEntry extends BaseInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	public BtPlanEntry() {
	}

	/**
	 * 主键
	 */
	@AssignID("uuid")
	public String getId() {
		return getString("id");
	}

	public void setId(String id) {
		set("id", id);
	}

	/**
	 * 所属计划ID
	 */
	public String getPlanId() {
		return getString("planId");
	}

	public void setPlanId(String planId) {
		set("planId", planId);
	}

	/**
	 * 所属计划编码
	 */
	public String getPlanCode() {
		return getString("planCode");
	}

	public void setPlanCode(String planCode) {
		set("planCode", planCode);
	}

	/**
	 * 途径地ID
	 */
	public String getAddressId() {
		return getString("addressId");
	}

	public void setAddressId(String addressId) {
		set("addressId", addressId);
	}

	/**
	 * 途径地名称
	 */
	public String getAddressName() {
		return getString("addressName");
	}

	public void setAddressName(String addressName) {
		set("addressName", addressName);
	}

	/**
	 * 标识字段(顺序)
	 */
	public Integer getSign() {
		return getInteger("sign");
	}

	public void setSign(Integer sign) {
		set("sign", sign);
	}

	/**
	 * 到达此位置的耗时(天)
	 */
	public Integer getDays() {
		return getInteger("days");
	}

	public void setDays(Integer days) {
		set("days", days);
	}

	/**
	 * 所属公司ID
	 */
	public String getCompanyId() {
		return getString("companyId");
	}

	public void setCompanyId(String companyId) {
		set("companyId", companyId);
	}
	
	/**
	 * 创建时间
	 */
	public Date getCreateTime() {
		return getDate("createTime");
	}

	public void setCreateTime(Date createTime) {
		set("createTime", createTime);
	}
	
	/**
	 * 异常标识
	 */
	public Integer getStates() {
		return getInteger("states");
	}

	public void setStates(Integer states) {
		set("states", states);
	}
	
	/**
	 * 异常类型描述
	 */
	public String getException() {
		return getString("exception");
	}

	public void setException(String exception) {
		set("exception", exception);
	}
	
	/**
	 * 到达标识 0 未到达 1已到达 2 已经到达并且已经出发到下一点
	 */
	public Integer getArrive() {
		return getInteger("arrive");
	}

	public void setArrive(Integer arrive) {
		set("arrive", arrive);
	}

}